#include<iostream>
using std::cout;
#include"stonewt.h"
void display(const Stonewt& st, int n);

int main()
{
	Stonewt color[6];
	Stonewt taft(11, 8.0);

	color[0] = 196.0;
	color[1] = (12, 32);
	color[2] = 28;
	int stn_min;
	int stn_max;
	int num = 0;
	for (int i = 3; i < 6; i++)
		color[i].input_stonewt();

	stn_max = stn_min = color[0].show_stone();

	for (int i = 0; i < 6; i++)
	{
		if (color[i].show_stone() >= taft.show_stone())
			num++;
		if (color[i].show_stone() > stn_max)
		{
			stn_max = color[i].show_stone();
		}
		else if (color[i].show_stone() < stn_min)
		{
			stn_min = color[i].show_stone();
		}
	}
	cout << "The Max of stone is " << stn_max << ", and the min of stone is " << stn_min << " .\n";
	cout << "The number of stone which heavier than 11 is " << num;
	return 0;
}
